[Rock-dev] TrajectoryFollower writing stop commands for no trajectory

Christian Rauch Christian.Rauch at dfki.de
Fri Mar 21 13:52:11 CET 2014


The attached patch describes how the follower should behave.
It will enable the trajectory follower only to send motion commands as 
long as it is processing a trajectory.

If you are fine with these changes, I would like to push it to master by 
end of today.

Regards,
Christian


Am 21.03.2014 13:06, schrieb Janosch Machowinski:
> I like my robot to stop if it reaches the end of the trajectory.
> For the case of no pose and no trajectory,
> we could drop the 0,0 command
> Greetings
>       Janosch
>
> On 21.03.2014 10:56, Christian Rauch wrote:
>> Hi,
>>
>> the TrajectoryFollower::Task is currently writing stop motion commands
>> (0,0) if:
>> - there is no pose
>> - there is no trajectory set
>> - it reached the end of the trajectory
>>
>> I would like to have the task only sending motion commands when it
>> actually follows a trajectory. In all of the cases above the
>> TrajectoryFollower has nothing to follow and should therefore not
>> generate any commands.
>>
>> The reason is that the TrajectoryFollower blocks other tasks from
>> writing motion commands to the driver, even if it does not has
>> anything to do.
>>
>> Opinions?
>>
>> Regards,
>> Christian
>>
>>
>>
>>
>> _______________________________________________
>> Rock-dev mailing list
>> Rock-dev at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>
>
>
>
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>

-- 
  Christian Rauch
  Space Robotics

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 1
  28359 Bremen, Germany

  Zentrale: +49 421 178 45-6611

  Besuchsadresse der Nebengeschäftstelle:
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Tel:     +49 421 178 45-6619
  Empfang: +49 421 178 45-6600
  Fax:     +49 421 178 45-4150
  E-Mail:  Christian.Rauch at dfki.de

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Only-send-motion-commands-if-there-is-a-real-traject.patch
Type: text/x-patch
Size: 1748 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/rock-dev/attachments/20140321/08bb37e1/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4988 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.dfki.de/pipermail/rock-dev/attachments/20140321/08bb37e1/attachment-0003.bin 


More information about the Rock-dev mailing list