Page 1 of 1

CrazyS Gazebo ROS - send position data

Posted: Tue Nov 10, 2020 6:54 am
by whizzle
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!

Re: CrazyS Gazebo ROS - send position data

Posted: Wed Nov 11, 2020 7:53 am
by kimberly
Hi!

I've send this request to some of our channels, but I'm afraid that not many have experience with CrazyS. Have you considered asking it on the github repo as an issue?

Re: CrazyS Gazebo ROS - send position data

Posted: Thu Nov 12, 2020 3:51 pm
by whizzle
Hi Kimberly

thanks for your reply. I did not yet open an issue on the repo.

Actually I just want to simulate some crazyflies, maybe 3 or 4 to let them fly to coordinates which are sent each second or so...