jsk-ros-pkg / jsk_aerial_robot

The platfrom for aerial robot (e.g. general multirotor, hydrus, di, dragon, etc)
http://www.jsk.t.u-tokyo.ac.jp/index-j.html
34 stars 34 forks source link

Refactor the spine process in spinal #520

Open tongtybj opened 2 years ago

tongtybj commented 2 years ago

The flag https://github.com/jsk-ros-pkg/jsk_aerial_robot/blob/master/aerial_robot_nerve/spinal/mcu_project/lib/Jsk_Lib/config.h#L31 is too inconvenient.

We need an automatic judging process for the connection with neurons, according to the response of initialization request, which is in turn became the number of servo. Please check https://github.com/jsk-ros-pkg/jsk_aerial_robot/blob/master/aerial_robot_nerve/spinal/mcu_project/lib/Hydrus_Lib/Spine/spine.cpp#L144-L160.