-
Notifications
You must be signed in to change notification settings - Fork 205
Continuous signal with crazyflie_ros #181
Comments
I try to do a sine signal with the next pose.publish.py file, I modify this file in the lines
if name == 'main':
` But really i haven't good result, maybe some one did some like this, can you help me? |
I see my topic crazyflie/goal on rosbag and |
Your approach is correct, but make sure you update your message inside the main while loop (right before Please post code as file, or inside the code environment on github (you can use the "Preview" tab to check if what you post gets rendered correctly before commenting). |
Thank you for the answer @whoenig and for the advice :) I have another quesiton, can you help me? Do you think that I may the same with demo1.py file https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_demo/scripts/demo1.py ?
|
Sure, you can create an appropriate array using either numpy or Python list comprehension. |
Thank you so much @whoenig |
HI @whoenig Again with other question for example in crazyflie2.yaml file `
` ed is the acceleration |
Hi @whoenig I try the next code with publish_pose.py file `
when I add two lines my joystick don't do anything |
I checked my crazyflie/cmd_vel and this is cero, |
In general, I recommend learning Python well first, then learn ROS in simulation only, and finally switch to real hardware. |
Thank you for the answer @whoenig :) |
Hii @whoenig . |
In general I recommend first learning Python, then learning ROS in simulation, and afterwards picking up projects with real hardware. For both Python and ROS are good books available, which is perhaps easier/more structured than following tutorials online. |
add pyqt to conda_env
Hello guys
I would like to know if you can help me with something,
I am working with crazyflie_ws in the crazyflie_ros folder, https://github.com/whoenig/crazyflie_ros specifically there is a file named pose.publish.py
https://github.com/whoenig/crazyflie_ro ... sh_pose.py
and this generates the desired points for x, y and z, but these are only constants,
I would like to know if I can enter a variant signal in time as it is a signal sine,
thank you very much.
The text was updated successfully, but these errors were encountered: