Offworld-Robotics / numbat_software

Off World Robotics NUMBAT Backend
5 stars 4 forks source link

Log Data from Husky Encoders #13

Closed hjed closed 10 years ago

hjed commented 10 years ago

This is written from the rostopic /joint_states ATM, this can be read using "rostopic echo /joint_states"

hjed commented 10 years ago

Ok, I'm going to be away tomorrow but I did start on this last week.

The setup for it broke the make process for making the husky move however so I haven't submited it to git. The message class is ensor_msgs::JoinState::ConstPtr&, but I hadn't worked out how to extract data from it yet. You need to look at the ros documentation to work it out. Here is the code for reading from the encoders /*