CrazyS Gazebo ROS - send position data
Posted: Tue Nov 10, 2020 6:54 am
Hey there,
I installed CrazyS (https://github.com/gsilano/CrazyS) on my ubuntu machine.
Starting a demo like $ roslaunch rotors_gazebo crazyflie2_hovering_example.launch works fine.
I was just wondering, how to use my python script to update the position of the drone with absolute position data.
I am simply unable to do this.
Can I get this done via console?
With something like: rostopic pub /crazyflie2/sth std_msgs/String "position: '2.0 2.0 2.0'"
If somebody has some experience and could share some knowledge would be great!
I installed CrazyS (https://github.com/gsilano/CrazyS) on my ubuntu machine.
Starting a demo like $ roslaunch rotors_gazebo crazyflie2_hovering_example.launch works fine.
I was just wondering, how to use my python script to update the position of the drone with absolute position data.
I am simply unable to do this.
Can I get this done via console?
With something like: rostopic pub /crazyflie2/sth std_msgs/String "position: '2.0 2.0 2.0'"
If somebody has some experience and could share some knowledge would be great!