CrazyS Gazebo ROS - send position data

Firmware/software/electronics/mechanics
Post Reply
whizzle
Beginner
Posts: 18
Joined: Sat Feb 08, 2020 4:05 pm

CrazyS Gazebo ROS - send position data

Post 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!
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: CrazyS Gazebo ROS - send position data

Post 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?
whizzle
Beginner
Posts: 18
Joined: Sat Feb 08, 2020 4:05 pm

Re: CrazyS Gazebo ROS - send position data

Post 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...
Post Reply