Closed Rucy-kim closed 3 years ago
You can just use the latest Bitcraze firmware (which has probably more bug fixes than the one we provide). The latest Crazyswarm version does not require any special firmware. Does it work in that case (you should really only need to change the mocap to None)?
Hi! Thank you for the answer.
If bitcraze's official firmware is enough, what is the role of crazyswarm repository's submodule, crazyflie-firmware?
I tried this script with reference to your answer with latest bitcraze's crazyflie-firmware repository and crazyflie2-nrf-firmware repository, crazyradio-firmware repository.
And this is my mocap setting:
motion_capture_type: "none" # one of none,vicon,optitrack,qualisys,vrpn
object_tracking_type: "libobjecttracker" # one of motionCapture,libobjecttracker
send_position_only: False # set to False to send position+orientation; set to True to send position only
vicon_host_name: "vicon"
# optitrack_host_name: "optitrack"
# qualisys_host_name: "10.0.5.219"
# qualisys_base_port: 22222
# vrpn_host_name: "vicon"
When I ran:
roslaunch crazyswarm hover_swarm.launch
the cf reboots and the status of the m1, m2, m3 looks normal, but does nothing.
I don't know why, turn the power on again, and trired this script of crazyflie-lib-python(runs without any problems) and try again to connect normally.(cf's LED-ring is all red)
In this state, niceHover.py script had no problem until takeoff, but moves the y-axis, it crashes.
I still don't know what is wrong.
And sorry, there is one more question.
When I run hover_swarm.launch, after cf reboots, kill the rviz process and run hover_swarm.launch again, the following error occurs.
[crazyswarm_server-2] process has died [pid 21156, exit code -6, cmd /home/drone/work/crazyswarm/ros_ws/devel/lib/crazyswarm/crazyswarm_server __name:=crazyswarm_server __log:=/home/drone/.ros/log/71b864ae-8f7e-11ea-97b3-080027acef63/crazyswarm_server-2.log].
log file: /home/drone/.ros/log/71b864ae-8f7e-11ea-97b3-080027acef63/crazyswarm_server-2*.log
there a conceivable cause?
Hi!
I am testing crazyswarm with lps. but my flight is not working properly.
I got the coordinates of the base station by referring to this and after modifying this file:
crazyswarm/crazyflie-firmware/src/deck/drivers/src/lighthouse.c
I compiled this firmware and flashed it on my cf and flashed the prebuilt nrf firmware.
And I modify this line to 'none'.
And start the server and I ran:
python figure8_csv.py
That seems to take off for a while, but soon loses control and crashes. When I tested it with bitcraze's official firmware using the same coordinates, I was able to fly without any problems.
Is there something wrong with my setup?
This is my console message while rviz is running:
If you know what I did wrong, please let me know.
Thanks in advance for the help.