uzh-rpg / rpg_dvs_ros

ROS packages for DVS
MIT License
300 stars 155 forks source link

aps_enabled has no effect #64

Open alezana opened 6 years ago

alezana commented 6 years ago

Hi all,

I'm using a davis240c and trying to run it with the parameter aps_enabled: false, but apparently it has no effect and the driver enables the image acquisition. I'm pretty sure the file is loaded correctly as when I modify other parameters (e.g. frame_delay) of the .yaml file they do have the desired effect. Any idea why?

thank you in advance

supitalp commented 6 years ago

Hi, Thank you for the feedback. I can reproduce the problem at startup: the parameter aps_enabled is indeed disregarded at startup. However, if you enable and disable it while the driver is running, it will work. I will look into it.

Henri

callumtyler commented 5 years ago

Hi, Has there been any progress to this ? I notice that parameters in the DAVIS240C.yaml and DAVIS_ROS_Driver.cfg both do not take affect when I roslaunch davis_ros_driver stereo.launch. I instead am required to use rosrun rqt_reconfigure rqt_reconfigure and manually change the settings.

Thanks for your help.

callumtyler commented 5 years ago

To change _apsenabled as mentioned by @supitalp, run this command: rosrun dynamic_reconfigure dynparam set /davis_left/davis_ros_driver aps_enabled false

I still have not yet found a workaround to changing it when launching with stereo.launch, I also tried loading the .yaml dynamically with rosrun dynamic_reconfigure dynparam load /davis_left/davis_ros_driver [your_configuration_file.yaml]

Let me know if any progress has been made, cheers.