Comments (12)
from aruco_ros.
Hmm, which field do you have in mind? Maybe the frame in the header of the camera info?
Here is the camera info:
header:
seq: 1699
stamp:
secs: 1528207593
nsecs: 3959129088
frame_id: camera_mlx_frame_link
height: 512
width: 1024
distortion_model: plumb_bob
D: [-0.37344000000000005, 0.13855, -0.023670000000000004, -0.00028000000000000003, 0.00062]
K: [551.29784, 0.0, 0.0, -0.27212000000000003, 551.16795, 0.0, 501.52976, 248.17503, 1.0]
R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
P: [551.29784, 0.0, 0.0, -0.27212000000000003, 551.16795, 0.0, 501.52976, 248.17503, 1.0, 0.0, 1.0, 0.0]
binning_x: 0
binning_y: 0
roi:
x_offset: 0
y_offset: 0
height: 0
width: 0
do_rectify: False
---
from aruco_ros.
from aruco_ros.
Yeap! Here you are.
Thanks for looking into this!
You can try to set some made up frame.
Was trying the same, but without luck π
from aruco_ros.
What's the ID and size of the marker?
from aruco_ros.
And probably post your launch file.
from aruco_ros.
Reverse engineered is marker 1... I don't know the size tho.
from aruco_ros.
Your camera info is wrong. A default camera info like:
rostopic pub /twizy/camera/mlx/camera_info sensor_msgs/CameraInfo "header:
seq: 0
stamp:
secs: 0
nsecs: 0
frame_id: "camera_mlx_frame_link"
height: 512
width: 1024
distortion_model: "plumb_bob"
D: [0.0, 0.0, 0.0, 0.0, 0.0]
K: [1.0, 0.0, 512.0, 0.0, 1.0, 256.0, 0.0, 0.0, 1.0]
R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
P: [1.0, 0.0, 512.0, 0.0, 0.0, 1.0, 256.0, 0.0, 0.0, 0.0, 1.0, 0.0]
binning_x: 0
binning_y: 0
roi:
x_offset: 0
y_offset: 0
height: 0
width: 0
do_rectify: False"
Provides detections, with a launchfile like:
<launch>
<arg name="markerId" default="1"/>
<arg name="markerSize" default="0.1"/> <!-- in m -->
<arg name="marker_frame" default="aruco_marker_frame"/>
<arg name="ref_frame" default=""/> <!-- leave empty and the pose will be published wrt param parent_name -->
<arg name="corner_refinement" default="LINES" /> <!-- NONE, HARRIS, LINES, SUBPIX -->
<node pkg="aruco_ros" type="single" name="aruco_single">
<remap from="/camera_info" to="/twizy/camera/mlx/camera_info" />
<remap from="/image" to="/twizy/camera/mlx/undistorted_image_raw" />
<param name="image_is_rectified" value="True"/>
<param name="marker_size" value="$(arg markerSize)"/>
<param name="marker_id" value="$(arg markerId)"/>
<param name="reference_frame" value="$(arg ref_frame)"/> <!-- frame in which the marker pose will be refered -->
<param name="camera_frame" value="camera_mlx_frame_link"/>
<param name="marker_frame" value="$(arg marker_frame)" />
<param name="corner_refinement" value="$(arg corner_refinement)" />
</node>
</launch>
from aruco_ros.
Marker size is 0.17m
and marker id=1
(indeed). So you are saying probably the camera matrix K
is wrong?
The launch file also correct π.
I am gonna check all the camera matrices to make sure they are correct. Thanks! (I'll let you know)
from aruco_ros.
Both K & P look wrong if you compare the default camera info (perfect camera values) to yours. Seems values are shifted positions. Good luck. Also, next time, please post all necessary information to help you on the issue, makes things way easier.
from aruco_ros.
Yes both are wrong, you are right. There is an error in the matlab script that generate those.
Also, next time, please post all necessary information to help you on the issue, makes things way easier.
Yeah my bad, sorry.
Thanks for looking into this!
from aruco_ros.
haha good luck.
from aruco_ros.
Related Issues (20)
- Process dies everytime I try to access the topic aruco_marker_publisher/result HOT 6
- Can not get pose information and aruco_marker tf from ZED Mini camera HOT 9
- is there a way to port this back to older version (EOL) ROS2 HOT 1
- [bug] double free detected in tcache 2 HOT 2
- [Humble] Failing to build on buildfarm because of ambiguity HOT 4
- HelpοΌ HOT 1
- about no camera info HOT 2
- cannot show position,but get marks > Hello @Yaoxingtian, HOT 2
- about distance
- howto use many aruco code to make accuracy better? HOT 1
- how to change the coordinate system HOT 1
- the direction changes a lot when i put quaternion ioto navigation HOT 2
- Calculate reprojection error HOT 1
- an error when catkin_make HOT 3
- why the size of distorsionCoeff is 4? HOT 5
- can aruco_ros subscribe raw(distorted) image?
- noetic process has died HOT 11
- pose representation problem HOT 1
- Flickering in Debug View
- Is ROS2 Foxy supported? HOT 1
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 aruco_ros.