Code Monkey home page Code Monkey logo

Comments (13)

deepzf avatar deepzf commented on August 27, 2024

SopasET shows the Frequency is 15Hz

from sick_tim.

mintar avatar mintar commented on August 27, 2024

That is weird, I've never had that problem before. Any other hints to solve this? Does the driver print any error messages?

from sick_tim.

jspricke avatar jspricke commented on August 27, 2024

Can you try rostopic hz /scan?

from sick_tim.

deepzf avatar deepzf commented on August 27, 2024

root@raspberrypi:/home/pi# rostopic hz /scan
subscribed to [/scan]
average rate: 4.988
min: 0.198s max: 0.202s std dev: 0.00164s window: 5
average rate: 4.994
min: 0.197s max: 0.203s std dev: 0.00182s window: 10
average rate: 4.997
min: 0.197s max: 0.203s std dev: 0.00167s window: 15
average rate: 4.998
min: 0.197s max: 0.203s std dev: 0.00167s window: 20
average rate: 4.998
min: 0.197s max: 0.203s std dev: 0.00169s window: 25
average rate: 4.998
min: 0.197s max: 0.203s std dev: 0.00165s window: 30

from sick_tim.

deepzf avatar deepzf commented on August 27, 2024

root@raspberrypi:/home/pi# roslaunch sick_tim sick_tim551_2050001.launch
... logging to /root/.ros/log/fc6d9a8c-6d46-11e6-b51d-b827eb57f198/roslaunch-raspberrypi-12471.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://raspberrypi:42284/

SUMMARY

PARAMETERS

  • /robot_description: <?xml version="1....
  • /rosdistro: indigo
  • /rosversion: 1.11.20
  • /sick_tim551_2050001/time_increment: 5.5556e-05

NODES
/
robot_state_publisher (robot_state_publisher/state_publisher)
sick_tim551_2050001 (sick_tim/sick_tim551_2050001)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[robot_state_publisher-1]: started with pid [12492]
process[sick_tim551_2050001-2]: started with pid [12493]
[ INFO] [1472406861.672840922]: SICK AG - TIM3XX - [1]
[ INFO] [1472406861.673162378]: ----------------------------------------
[ INFO] [1472406861.673258419]: Device Class: 0x0
[ INFO] [1472406861.673330918]: VendorID: 0x19a2
[ INFO] [1472406861.673404303]: ProductID: 0x5001
[ INFO] [1472406861.673474146]: ----------------------------------------
[ INFO] [1472406861.673577010]: Interfaces: 1
[ INFO] [1472406861.673650603]: ----------------------------------------
[ INFO] [1472406861.673725706]: Number of alternate settings: 1
[ INFO] [1472406861.673801851]: Interface number: 0
[ INFO] [1472406861.673877267]: Number of endpoints: 2
[ INFO] [1472406861.673946069]: Descriptor Type: 5
[ INFO] [1472406861.674017214]: EP Address: 129
[ INFO] [1472406861.674084193]: Descriptor Type: 5
[ INFO] [1472406861.674146484]: EP Address: 2
[ INFO] [1472406861.674237525]: ----------------------------------------
[ INFO] [1472406861.674510751]: LIBUSB - Claimed interface
[ WARN] [1472406861.753457616]: hex: 5DC, scanning_freq: 1500, scan_time: 0.066667
[ WARN] [1472406861.754372191]: Intensity parameter is enabled, but the scanner is not configured to send RSSI values! Please read the section 'Enabling intensity (RSSI) output' here: http://wiki.ros.org/sick_tim.
[ WARN] [1472406861.953578684]: hex: 5DC, scanning_freq: 1500, scan_time: 0.066667
[ WARN] [1472406862.153598556]: hex: 5DC, scanning_freq: 1500, scan_time: 0.066667
[ WARN] [1472406862.356201790]: hex: 5DC, scanning_freq: 1500, scan_time: 0.066667
[ WARN] [1472406862.553421009]: hex: 5DC, scanning_freq: 1500, scan_time: 0.066667
ps:warn messages of scanning_freq is only for debug

from sick_tim.

jspricke avatar jspricke commented on August 27, 2024
  • deepzf [email protected] [2016-08-28 10:57]:

    root@raspberrypi:/home/pi# roslaunch sick_tim sick_tim551_2050001.launch

Ah, you are using a raspberry pi. Can you try it on a desktop computer?

from sick_tim.

deepzf avatar deepzf commented on August 27, 2024

Ok,i will try it later,by the way,what is the meaning of 'scanning_freq:1500'

from sick_tim.

mintar avatar mintar commented on August 27, 2024

Ok,i will try it later,by the way,what is the meaning of 'scanning_freq:1500'

That's the scanning frequency in 1/100 Hz, meaning 15 Hz. This is fixed for all SICK TiMs and cannot be changed.

Also I don't think it's a performance problem caused by the raspberry pi. The rostopic hz output looks to be suspiciously close to 5 Hz, so the publication rate is probably limited by our driver.

My guess is that you set the parameter skip = 2 (which means, drop 2 out of 3 messages, resulting in 5 Hz). The solution is to set skip = 0 (for example by using rqt_reconfigure).

You can check via rosparam dump | grep skip.

from sick_tim.

deepzf avatar deepzf commented on August 27, 2024

root@raspberrypi:/home/pi# rosparam dump | grep skip
skip: 0, time_increment: 5.5556e-05, time_offset: -0.001}

from sick_tim.

deepzf avatar deepzf commented on August 27, 2024

@i made some tests,maybe the true Frequency of the massage is only 5Hz due to the firmware

from sick_tim.

mintar avatar mintar commented on August 27, 2024

I think the SopasET software has a scan visualization function. Does it look better there?

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

from sick_tim.

deepzf avatar deepzf commented on August 27, 2024

SopasET shows rages at the same Frequency,so i think it‘s the firmware issue

from sick_tim.

deepzf avatar deepzf commented on August 27, 2024

thanks for all

from sick_tim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.