-
#76 And I changed odometry_ publisher file changed from .CPP to .Py file And then when I run "odom_pub" is not defined |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 26 replies
-
I don't really understand what you're trying to do here, but as specified in the comments of the method, Here's a quick example: if __name__ == "__main__":
simulation_manager = SimulationManager()
wrap = PepperRosWrapper()
camera_id = PepperVirtual.ID_CAMERA_BOTTOM
pepper = simulation_manager.spawnPepper(client, spawn_ground_plane=True)
wrap.launchWrapper(pepper, "/naoqi_driver")
handle = pepper.subscribeCamera(camera_id)
try:
rospy.spin()
except KeyboardInterrupt:
pass
except rospy.ROSInterruptException:
pass
finally:
wrap.stopWrapper()
simulation_manager.stopSimulation(client) The |
Beta Was this translation helpful? Give feedback.
-
I'm going to move this issue into the discussions and widen the scope of the issue a bit, since I think the issue has more to do with the joint usage of ROS with qiBullet. If a specific issue with the simulation arises, we'll create a more specific issue |
Beta Was this translation helpful? Give feedback.
-
Alright @ysys98, the hotfix/ros_odometry branch should take care of the problem. Could you try to uninstall qibullet and reinstall it from source using this branch? (the wiki should help you with that, checkout the |
Beta Was this translation helpful? Give feedback.
Alright @ysys98, the hotfix/ros_odometry branch should take care of the problem. Could you try to uninstall qibullet and reinstall it from source using this branch? (the wiki should help you with that, checkout the
hotfix/ros_odometry
branch after cloning the repo, and before installing) It works for me, if it works for you I'll package an official release