Comments (3)
The trajectory of a single robot can be displayed. I set the fixed frame in RVIZ as the map of a certain robot, and then set the topic of the path to the optimized_trajectory of the same robot, so that I can see the trajectory of that robot. To switch the trajectory, the fixed frame should be switched. I am not sure if the author has provided a function to display the trajectories of all robots in one coordinate system.
from kimera-multi.
You can also define a world frame as the "shared" coordinate system and add a static transform publisher for each robot
rosrun tf2_ros static_transform_publisher 0 0 0 0 0 1 world $ROBOT_NAME/map
from kimera-multi.
To help future users with this issue, I wrote a roslaunch file doing what @yunzc mentioned: defining a world frame as the shared coordinate system and add a static transform publisher for each robot, so that the tf trees stay connected and we can visualize easily in RViz. Here is the launch file which has jackal1, jackal2, sparkal1, sparkal2, thoth, and hathor:
<launch>
<!-- sparkal 1 -->
<node pkg="tf2_ros" type="static_transform_publisher" name="static_transform_publisher_sparkal1" args="0 0 0 0 0 1 world sparkal1/map" />
<!-- sparkal 2 -->
<node pkg="tf2_ros" type="static_transform_publisher" name="static_transform_publisher_sparkal2" args="0 0 0 0 0 1 world sparkal2/map" />
<!-- jackal 1 -->
<node pkg="tf2_ros" type="static_transform_publisher" name="static_transform_publisher_jackal1" args="0 0 0 0 0 1 world acl_jackal/map" />
<!-- jackal 2 -->
<node pkg="tf2_ros" type="static_transform_publisher" name="static_transform_publisher_jackal2" args="0 0 0 0 0 1 world acl_jackal2/map" />
<!-- thoth -->
<node pkg="tf2_ros" type="static_transform_publisher" name="static_transform_publisher_thoth" args="0 0 0 0 0 1 world thoth/map" />
<!-- hathor -->
<node pkg="tf2_ros" type="static_transform_publisher" name="static_transform_publisher_hathor" args="0 0 0 0 0 1 world hathor/map" />
</launch>
After roslaunching this file, going to RViz and selecting the Paths as optimized_trajectory for each of the robots (e.g. /acl_jackal/kimera_vio_ros/optimized_trajectory
) will look like the screenshot below. Note that the single-robot VIO trajectory estimates from different robots will not be aligned in the same reference frame (in general), as noted by @yuluntian in #7.
from kimera-multi.
Related Issues (20)
- RViZ no Visualization in world frame and path HOT 7
- RViz Unexpected Output HOT 8
- No visualization on rviz HOT 12
- Running Kimera-Multi on EuRoC MH: issues with results HOT 8
- Running Kimera-Multi with multiple drones in Airsim and Unreal Engine HOT 3
- Conflicting requirements during installation leading to failed build HOT 10
- Campus-Outdoor Data Testing and Custom YAML Configuration with Kimera-Multi HOT 4
- process [acl_jackal/kimera_vio_ros/kimera_vio_ros_node-1] has died! HOT 1
- gflags relate error HOT 2
- process died one by one HOT 2
- example yaml file doesnt works HOT 11
- Kimera-Multi - simulation in the gazebo HOT 5
- Incorrect vocabulary path: /catkin_ws/src/kimera_multi_lcd/vocab/mit_voc.yml HOT 1
- Algorithm diverges HOT 6
- Integration Issues with Kimera-PGMO and Kimera-Semantics in Multi-Robot Context HOT 1
- Kimera-vio & kimera-rpgo
- Kimera-VIO and Loop closure
- Unable to Generate Mesh with Kimera Semantics in Multi-Robot Setup
- robot communication + volumetric mapping (kimera-semantics and kimera-PGMO)
- posegraph_viewer died
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 kimera-multi.