-
Notifications
You must be signed in to change notification settings - Fork 480
Doc Bug: Interfacing to ROS · PX4 Developer Guide #391
Comments
My apologies, |
Thanks. I believe you're say we can close this :-).
Can you offer any advice how we might make debugging this easier for people? |
I’m not sure of the mechanism that defines where the build code is placed so I’m not sure if there is a hard and fast rule for where it will be? Maybe add a comment on that line that the path may be .../“build_posix_sitl_default”? Also, I found that setting the verbose flag on the roslaunch file helped me diagnose the problem. Perhaps adding a note about this would be a helpful general comment. Otherwise you don’t get any warnings that the motor plugins haven’t been found. I’d be tempted to add that flag into the code snippet. Another nice to have would be how to integrate customised gazebo quadcopter models into the code base. Took me a bit to figure that out and I’m still not sure that I’m following best practices. |
@jannsta1 |
Ah OK, thanks @mrivi good to know. |
DESCRIBE PROBLEM WITH DOCS HERE
I believe the line
source Tools/setup_gazebo.bash $(pwd) $(pwd)/build/posix_sitl_default
in the Launching Gazebo with ROS wrappers section of the referenced page should be modified tosource Tools/setup_gazebo.bash $(pwd) $(pwd)/posix_sitl_default
. At least in the branch I'm using (v1.6.5) the posix_sitl_default folder appears to be placed directly in the Firmware folder.Perhaps this is supposed to be implied but took me quite a while to figure out why I couldn't get the mavros_posix_sitl.launch file to work properly.
Bug Page: Interfacing to ROS · PX4 Developer Guide
The text was updated successfully, but these errors were encountered: