Comments (15)
@danifpdra can you help me? You use the sick ld rms right? Do you subscribe to the scan0, 1, etc messages?
from atlascar2.
from atlascar2.
@miguelriemoliveira I included the launch file for the lSICK LDMRS and the Novatel GPS + IMU in the altas-core in the car, and it is all lauched with the drivers.launch file (I didn't commit to github tho)
To obtain sensor data, topics /ld_rms/scan0 /ld_rms/scan1 /ld_rms/scan2 /ld_rms/scan3 must be subscribed, but to group all the data from the sensors, it is necessary to create a point cloud assembler like this:
<node type="laser_scan_assembler" pkg="laser_assembler" name="my_assembler0">
<remap from="scan" to="/ld_rms/scan0"/>
<remap from="assemble_scans2" to="assemble_scans0"/>
<param name="max_scans" type="int" value="100" />
<param name="fixed_frame" type="string" value="map" />
</node>
<node type="laser_scan_assembler" pkg="laser_assembler" name="my_assembler1">
<remap from="scan" to="/ld_rms/scan1"/>
<remap from="assemble_scans2" to="assemble_scans1"/>
<param name="max_scans" type="int" value="100" />
<param name="fixed_frame" type="string" value="map" />
</node>
<node type="laser_scan_assembler" pkg="laser_assembler" name="my_assembler2">
<remap from="scan" to="/ld_rms/scan2"/>
<remap from="assemble_scans2" to="assemble_scans2_"/>
<param name="max_scans" type="int" value="100" />
<param name="fixed_frame" type="string" value="map" />
</node>
<node type="laser_scan_assembler" pkg="laser_assembler" name="my_assembler3">
<remap from="scan" to="/ld_rms/scan3"/>
<remap from="assemble_scans2" to="assemble_scans3"/>
<param name="max_scans" type="int" value="100" />
<param name="fixed_frame" type="string" value="map" />
</node>
and maybe see this file https://github.com/lardemua/road_detection/blob/master/negative_obstacles/src/cloud_assembler.cpp
from atlascar2.
Hi @danifpdra ,
Thank you for the help. One thing I don't understand ... how can you assemble without knowing where the frame /ld_rms/scan1 (for example) is?
Can you post the pdf that results from
rosrun tf view_frames
Do you have the link ldrms0 (check my image, that's the frame_id of the messages) in your tf tree?
from atlascar2.
@miguelriemoliveira ,
I do have the ldrms frames. Is the device_frame_publisher node from the free_space_detection package running?
from atlascar2.
Not sure. Let me check your drivers.launch ...
from atlascar2.
Hum, I don't think there is any device_frame_publisher in the atlas core repo. Where do you have it?
from atlascar2.
The drivers.launch only launches the sensor... I launch that node on my own launch file.
from atlascar2.
from atlascar2.
OK, can you tell me where it is?
Also, it is clearly something that belongs to the scope of the drivers. It should be added to the drivers.launch. Can you add it to drivers.launch and remove it from your launch file?
from atlascar2.
Here: https://github.com/lardemua/free_space_detection
Yes, I'll do it in the atlascar computer since the github is not updated
from atlascar2.
from atlascar2.
Updated in 07d32af
from atlascar2.
So investigating this a bit more I noticed we are using a driver which is not the most common ...
@bernardomig you have any idea why?
It should be this one
https://github.com/SICKAG/sick_ldmrs_laser
since it is the one that appears officially in the ros webpages ... the problem we detected is because the "non-oficial" driver publishes the laser scans using a frame_id which does not exist in the tf tree.
The oficial driver does not publis the 2D scans separately, it only publishes a cloud.
I think this one would be better to use. @danifpdra do you need the separate scans? Is the point cloud enough for you?
I propose we change to this other driver, tell me what you think ...
from atlascar2.
here is the drivers.launch ...
<!-- TODO can we replace this by the oficial driver?-->
<node pkg="sick_ldmrs" type="sickldmrs.py" name="ld_rms" required="true" output="screen" if="$(arg ld_mrs)">
<param name="host" value="192.168.0.244"/>
<param name="port" value="12002"/>
</node>
<!-- TODO: Daniela chekc if this works for you?-->
<!-- <group ns="frontal_laser">-->
<!-- <include file="$(find atlas2_bringup)/launch/sick_ldmrs_node.launch">-->
<!-- </include>-->
<!-- </group>-->
from atlascar2.
Related Issues (20)
- Test of the point grey flea 2 camera HOT 13
- test of the LIDAR Sick LD MRS HOT 2
- novatel hardware HOT 9
- Find/Create odom messages for atlascar2 ackermann simulation HOT 7
- ATLAS PC boots very slow HOT 6
- Changing ackermann_steering_controller HOT 2
- Receive vehicle speed and steering angle from CAN messages HOT 34
- Calibrating AtlasCar2 with VLP HOT 9
- Add sick lms151 to the atlascar2 simulation HOT 4
- Create a sick lrms gazebo sensor HOT 6
- Consistency between simulation and live mode HOT 1
- Install odometer from Atlascar1 in Atlascar2 HOT 23
- Odometry drift in ackermann controller HOT 7
- Separate how to run from instalation HOT 1
- Odometry implementation using an incremental encoder HOT 28
- Odometry calibration in AtlasCar2 HOT 35
- Arduino pulse count giving only positive values HOT 5
- Publish can messages to ROS and process their data HOT 4
- Labeling in the data collector HOT 1
- Interactive pattern wrong reference frame HOT 6
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 atlascar2.