This package is to mark the ground truth (cube, triangle) on RVIZ.
- Eigen3
- tkinter
- ground_truth_labeler (ground_truth_labeler.py)
- ground_truth_labeler_node (ground_truth_labeler.cpp)
This is a tool to mark ground truth (cube) by using interactive makrer in UI(implemented by tkinter)
-
put package ground_truth_labeler in your workspace and catkin_make the package.
-
Run the module
roscore
python ~/ground_truth_labeler/src/ground_truth_labeler.py
- Open the RVIZ
- Set the fixed frame as your input frame, the default frame is map
- Subscribe the topic simple_markers and cube_poses
You won't see anything for now, you need to create the marker on UI.
- Click New Marker button on the User Interface.
- Enter the numbers and their size you need.
- Now check the RVIZ.
The result may seen like this:
- Notice that tx, ty, tz on Update Marker interface is not the position of the cube, it is the position of the control object (above the cube).
This is a tool to mark ground truth (triangle model) by using interactive makrer in command line
-
put package ground_truth_labeler in your workspace and catkin_make the package.
-
Run the node
roscore
rosrun ground_truth_labeler ground_truth_labeler_node
- Open the RVIZ
- Set fixed frame as map
- Subscribe the topic simple_markers
You won't see anything for now, you need to create the marker by orders.
- Click 2D Nav Goal button on the upper part of RVIZ interface. (Or press g)
- Try to drag the green arrow on the RVIZ 3D space.
- Now check the terminal you run the ground_truth_labeler_node, following the orders to create the model.
For instance, you can create one model by giving such orders:
The movable model shown on the RVIZ:
- Want to give more orders, back to step 1.