Comments (4)
- Do other packages (e.g.
vicon_bridge
) work correctly with your setup (to exclude network issues)? - Are the markers visible in VICON Tracker? Specifically, we only use unlabeled markers, so make sure that you don't have any object tracking in Tracker enabled.
from crazyswarm.
vicon_bridge
works with my setup. But, if I'm not mistaken, crazyswarm
does not usevicon_bridge
. Just to make sure, is there anywhere in particular that the IP address of the VICON server computer must be used?
Regarding the markers and VICON, I'm using VICON Nexus. The markers are visible. I create segments corresponding to the crazyflies, but I do not label the markers.
from crazyswarm.
You are correct that vicon_bridge is not used, however vicon_bridge uses the same SDK (Vicon DataStream SDK).
You only need to use the IP address or hostname in the launch file (https://github.com/USC-ACTLab/crazyswarm/blob/master/ros_ws/src/crazyswarm/launch/hover_swarm.launch#L56).
I never used Nexus, so I am not sure what the behavior is (and what you mean by "segments").
Perhaps try the following changes:
1.) https://github.com/USC-ACTLab/libmotioncapture/blob/master/src/vicon.cpp#L33: Also call pImpl->client.EnableMarkerData();
2.) https://github.com/USC-ACTLab/libmotioncapture/blob/master/src/vicon.cpp#L112-L120
Copy this segment directly below and use GetMarkerCount()
and GetMarkerGlobalTranslation()
instead of the Unlabeled
calls.
This will take both labeled and unlabeled markers into account, in case VICON Nexus has a different interpretation of unlabeled markers (in Tracker markers that are not associated with objects/segments are considered unlabeled).
from crazyswarm.
Actually, I found out that the problem was that a connection was not being established between the computer and the VICON server computer. I was using the hostname of the server, but a connection was not being established. When I replaced the hostname by the IP address of the VICON server, a connection was established, the crazyflies were added, and I saw the crazyflies on the RVIZ graph.
Note: Using GetMarkerCount()
and GetMarkerGlobalTranslation()
instead of the Unlabeled calls gave build errors because they are not defined. However, GetLabeledMarkerCount()
and GetLabeledMarkerGlobalTranslation()
are defined. Nonetheless, I did not have to change them.
from crazyswarm.
Related Issues (20)
- cmdVel() can not use HOT 2
- Crazyswarm 1.0 compatibility with ROS2 Humble? HOT 2
- Latency issues for offboard control using cf.setParam("motorPowerSet/m{i}", motor_power[i]) HOT 6
- Drone state estimation drifting significantly for static drone HOT 5
- Error with collisionavoidance and vispy
- Cant send the crazyflies commands after running another script with ROS HOT 1
- What is the best way to get angular state feedback? HOT 1
- issue with testing hello_world.py and hover_swarm.launch HOT 5
- the libmotioncapture submodule on the master not point(update) to the self main HOT 1
- Uploading more than one trajectory HOT 2
- Crazyflie flips over and crashes immediately HOT 8
- ESTKALMAN: State out of bounds, resetting,TF error
- build.sh issue
- "Motion Capture did not receive data" issue HOT 1
- controller?
- ESTKALMAN: State out of bounds, resetting
- Crazyflie wont show in Rviz
- a question about cmdPosition HOT 1
- Cannot give cmdVel command to all agent...
- 4 base stations in the lighthouse tracking system do not support 5 crazyfiles
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crazyswarm.