-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FrameID for IMU data #36
Comments
Possible solution - add a |
My concern with that is that the How are you setting the namespace for each robot? Just setting the |
We simply set the namespace in our launch file, either using group tags or the "ns" property of the node tag. The result is that the MCU topics are namespaced the same as The problem we're trying to solve is that, right now, the IMU messages with frame What I propose is to have madgwick add any necessary namespacing to the frame_id field. This could be a ROS param string that overwrites the field, or perhaps we just prepend the namespace of the madgwick node to the raw frame_id. |
And we're not using the embedded GPS right now, but it occurs to me that its messages may have the same problem. So rather than using madgwick specifically, one might create a new node class that listens to both the GPS and IMU messages and republishes each with properly namespaced frames. |
I've implemented a fix for this in #38 |
Rather than using a single global master with every robot running inside its own namespace, have you looked into a multi-master system: http://wiki.ros.org/multi_jackal_tutorials. |
I'm trying to figure out how to change the frame of IMU data coming from the MCU. As I understand it, the MCU launches a process on startup which publishes the IMU topic, among others. Then
jackal_node
sets up a serial connection to the MCU, then republishes that data on the onboard PC.I want to basically change the frame ID of the IMU data from
imu_link
to<namespace>/imu_link
. This is to support multirobot applications where every robot has animu_link
. Is there a simple way to do this? I'm guessing I may need to modify the upstart job on the MCU somehow.The text was updated successfully, but these errors were encountered: