Hi, I've been trying to write Rosserial Arduino script on a tight timeline and I am struggling with writing the script. This is this first time working with arduino as part of a group that haven't worked with ROS.
A simulink model of what I'm trying to achieve is posted here:
https://imgur.com/a/5RpIZkk
Is there some way of converting this into script automatically?
I've done the blinker and chatter publishing and subscribing tutorials on the wiki but they aren't clear how to extract the specific messages from the topic.
eg. within local_plan:
x = Poses.Pose.Position.X
z = Poses.Pose.Position.Z
And also how to collect the xyz vel/accel IMU data and collect into a Topic.
Sorry if this is a few questions at once but help would be greatly appreciated. I can comment the code that I've tried writing but it is just adapted from the blinker and chatter tutorials and is pretty incoherent.
↧