turtlebot / turtlebot4

Turtlebot4 common packages.
Apache License 2.0
96 stars 43 forks source link

oakd launch error #268

Closed ramakrishnasakethi closed 11 months ago

ramakrishnasakethi commented 11 months ago

Please provide the following information:

To Reproduce ros2 launch turtlebpt4_bringup oakd.launch.py

Other notes I did not give the robot any name.

hilary-luo commented 11 months ago

You shouldn't need to launch the oakd separately (it is launched automatically). If you are specifically wanting to shut the turtlebot service down and launch the oakd camera alone then you may be better off launching oakd_example.launch.py. That or creating your own launch file that creates and passes in the namespace launch argument as blank, to oakd.launch.py. The oakd.launch.py file was not intended for the user to be launching directly.

If you look into this oakd.launch.py you can see that it is expecting a namespace parameter to be passed in. For the standard turtlebot, this is passed down from the standard.launch.py file. You can pass it in using the command line if you namespace your robot, but it isn't possible (to my knowledge) to pass in the parameter as blank from the terminal.

ramakrishnasakethi commented 11 months ago

I still do not see the camera msgs under the list of available topic in both pc and pi. no_oakd_msgs_available

A screenshot of the bot status after ssh'd into the bot and typing in sudo systemctl status turtlebot4 systemctl_ssh_bot

hilary-luo commented 11 months ago

Is the robot docked? There is a powersaving feature that turns off the camera while docked.

ramakrishnasakethi commented 11 months ago

True. Once I undock, I am able to view oakd topics. Thank you.