PANDA CONTROL PROJECT FOR DYROS INTERNS
How to use
cd ~/intern_ws # enter intern workspace
mkdir your_name # make your own workspace
cd your_name # enter the workspace
# clone your codes
git clone https://github.com/your_id/panda_control_for_intern
# enter the cloned project
cd panda_control_for_intern
# build the project
mkdir build
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
make -j9
- run
# in panda_control_for_intern/build
# position controlled
./panda_position_controller
# torque controlled
./panda_torque_controller
- how to edit codes
src/main_torque_control.cpp
: main enterance of the torque controller program.src/main_position_control.cpp
: main enterance of the position controller program.src/controller.cpp
,include/controller.h
: controller codes.
Troubleshooting
-
communication_constraints_violation
:- Plase confirm that the project is built with
-DCMAKE_BUILD_TYPE=RELEASE
- Plase confirm that the project is built with
-
UDP receive: Timeout
:- ask for help with the results of
3. simple ping test
- ask for help with the results of
-
simple ping test
sudo ping 172.16.2.2 -i 0.001 -D -c 10000 -s 1200