Closed Sarxell closed 2 years ago
Boa tarde professores, Sobre a camera deu-me o seguinte erro ( depois de ter instalado os drivers):
Neste caso eu encontrei que podem ter dado update aos launch files e isto já não ser necessário, eu comentei e consegui colocar o launch file a correr. No entanto deu-me outro erro:
Eu utilizei o comando :
rosrun pointgrey_camera_driver list_cameras
o qual nao detetou nenhuma camera, pode ser uma das razões para este problema
Olá @Sarxell ,
quanto à formatação, o mesmo comentário que em #21 .
Como são câmaras ethernet faço a mesma pergunta: qual é o ip da câmara, o seu ip e se consegue fazer ping.
Exatamente igual ao que acontece no lidar, eu já tentei mudar o ip estático, mas como ainda só tinha feito isso no windows posso ter mudado de maneira errada
After using mode 0 in the camera and changing a little the values in the camera settings it finally worked
It has a warning that says:
Default Linux receive buffer setting is lower than expected
I still need to test with rviz and try to change the packet resend and size because the frame rate is very slow
Ok, also good news. Can you document the procedure? Does it work always?
I tried this method three or four times and it worked all of them. The procedure was:
roslaunch pointgrey_camera_driver camera.launch packet_resend:=false
to launch the cameraOK, thanks.
Hi @miguelriemoliveira ,
Today decided to test the cameras in rviz, with that I had to resolve the following error:
[ERROR] [1512118059.821921194]: Reconfigure Callback failed with error: PointGreyCamera::SetGigEConfig could not set GigE settings (packet resend) | FlyCapture2::ErrorType 7 Packet resend is not supported.
I found that it envolved the PointGreyCamera.cpp
in these lines:
gigeconfig.enablePacketResend = true;
error = cam.SetGigEConfig(&gigeconfig);
PointGreyCamera::handleError("PointGreyCamera::SetGigEConfig could not set GigE settings (packet resend)", error);
I changed the gigeconfig.enablePacketResend
value to false
. The error disappeared and rviz and rqt_image_view started working
I will try to update today the readme in more detail.
Olá @miguelriemoliveira ,
Right now I'm testing the atlascar2 cameras. As it can be seen in the photo below they are working in the spinview api
But in the flycap api they don't work
Right now there exists a new driver for the cameras that its this one: http://wiki.ros.org/spinnaker_sdk_camera_driver
With only one camera connected, the flycap works well, but with more than one I can ping, see them in the spinview but not in the flycap
I can try create a new launch file using the spinnaker driver and see if they work better than with the flycapture
A note: when I use updatorgui
to force the IP the cameras start working but one of them disappears, looks like the node merges and we can't see the image
Hi @Sarxell ,
if it works all the time with our launch files I don't care that it does not work well with flycapture ...
The problem is that when I run the launch files, it appears the same error that in the flycapture, that it doens't find any cameras... But using the spinview everything looks fine, that's my confusion... When I'm only using one camera it worked on both as well as with the launch files... Tomorrow I will try it again and give an update
Hi @miguelriemoliveira , So it was my bad , one of the cameras had a mask of the persistent Id of 255.255.0.0 which doesn't work, so I went to windows and I configured the right mask in that camera and now it's working
Great!
On Tue, Mar 22, 2022, 11:09 SaraPombinho @.***> wrote:
Hi @miguelriemoliveira https://github.com/miguelriemoliveira , So it was my bad , one of the cameras had a mask of the persistent Id of 255.255.0.0 which doesn't work, so I went to windows and I configured the right mask in that camera and now it's working
— Reply to this email directly, view it on GitHub https://github.com/lardemua/atlascar2/issues/22#issuecomment-1075036912, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWTHVWO46LGCOGFR72U4F3VBGS7RANCNFSM5JZFFJTA . You are receiving this because you were mentioned.Message ID: @.***>
Olá @vitoruapt e @miguelriemoliveira , Dificuldades e progressos no teste da câmara.