kandi background
Explore Kits

SMACC | Behavioral State Machine Library for real-time ROS

 by   reelrbtx C++ Version: Current License: BSD-3-Clause

 by   reelrbtx C++ Version: Current License: BSD-3-Clause

Download this library from

kandi X-RAY | SMACC Summary

SMACC is a C++ library. SMACC has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
From it's inception, SMACC was written to support the programming of multi-component, complex robots. If your project involves small, solar-powered insect robots, that simply navigate towards a light source, then SMACC might not be the right choice for you. But if you are trying to program a robot with a mobile base, a robotic arm, a gripper, two lidar sensors, a gps transceiver and an imu, then you've come to the right place.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • SMACC has a low active ecosystem.
  • It has 158 star(s) with 26 fork(s). There are 10 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 9 open issues and 22 have been closed. On average issues are closed in 39 days. There are no pull requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of SMACC is current.
SMACC Support
Best in #C++
Average in #C++
SMACC Support
Best in #C++
Average in #C++

quality kandi Quality

  • SMACC has no bugs reported.
SMACC Quality
Best in #C++
Average in #C++
SMACC Quality
Best in #C++
Average in #C++

securitySecurity

  • SMACC has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
SMACC Security
Best in #C++
Average in #C++
SMACC Security
Best in #C++
Average in #C++

license License

  • SMACC is licensed under the BSD-3-Clause License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.
SMACC License
Best in #C++
Average in #C++
SMACC License
Best in #C++
Average in #C++

buildReuse

  • SMACC releases are not available. You will need to build from source code and install.
  • Installation instructions are available. Examples and code snippets are not available.
SMACC Reuse
Best in #C++
Average in #C++
SMACC Reuse
Best in #C++
Average in #C++
Top functions reviewed by kandi - BETA

kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample Here

Get all kandi verified functions for this library.

Get all kandi verified functions for this library.

SMACC Key Features

Powered by ROS: SMACC has been developed specifically to work with ROS. It supports ROS topics, services and actions, right out of the box.

Written in C++: Until now, ROS has lacked a library to develop task-level behavioral state machines in C++. Although libraries have been developed in scripting languages such as python, these are unsuitable for real-world industrial evironments where real-time requirements are demanded.

Orthogonals: Originally conceived by David Harel in 1987, orthogonality is absolutely crucial to developing state machines for complex robotic systems. This is because complex robots are always a collection of hardware devices which require communication protocols, start-up determinism, etc. With orthogonals, it is an intuitive and relatively straight forward exercise (at least conceptually;) to code a state machine for a robot comprising a mobile base, a robotic arm, a gripper, two lidar sensors, a gps transceiver and an imu, for instance.

Static State Machine Checking: One of the features that SMACC inherits from Boost Statechart is that you get compile time validation checking. This benefits developers in that the amount of runtime testing necessary to ship quality software that is both stable and safe is dramatically reduced. Our philosophy is "Wherever possible, let the compiler do it".

State Machine Reference Library: With a constantly growing library of out-of-the-box reference state machines, (found in the folder sm_reference_library) guaranteed to compile and run, you can jumpstart your development efforts by choosing a reference machine that is closest to your needs, and then customize and extend to meet the specific requirements of your robotic application. All the while knowing that the library supports advanced functionalities that are practically universal among actual working robots.

SMACC Client Library: SMACC also features a constantly growing library of clients that support ROS Action Servers, Service Servers and other nodes right out-of-the box. The clients within the SMACC Client library have been built utilizing a component based architecture that allows for developer to build powerful clients of their own. Current clients of note include MoveBaseZ, a full featured Action Client built to integrate with the ROS Navigation stack, the ros_timer_client, the multi_role_sensor_client, and a keyboard_client used extensively for state machine drafting & debugging.

Extensive Documentation: Although many ROS users are familiar with doxygen, our development team has spent a lot of time researching the more advanced features of doxygen such as uml style class diagrams and call graphs, and we've used them to document the SMACC library. Have a look to our doxygen sites and we think you'll be blown away at what Doxygen looks like when it's done right and it becomes a powerful tool to research a codebase.

SMACC Viewer: The SMACC library works out of the box with the SMACC Viewer. This allows developers to visualize and runtime debug the state machines they are working on. The SMACC Viewer is closed source, but is free and can be installed via apt-get. To view the SMACC Viewer in action, click here and here. Be sure to set the youtube video to 720p HD.

Icon and TextInput are not showing in the same line

copy iconCopydownload iconDownload
inputText: {
    display: 'flex',
    flexDirection: "row",
    //flex:0.5,
    //marginLeft: 20,

    fontSize: 12,
    color: "#000000",
    fontFamily: "Roboto-Medium"
  }
inputText: {
    flexDirection: 'row',
    justifyContent:'space-between',
    alignItems:'center',
    fontSize: 12,
    color: '#000000',
    fontFamily: 'Roboto-Medium',
  },

Getting the object returns null on the object using Entity Framework

copy iconCopydownload iconDownload
public class SMAccount
{
    [Key]
    public int Id { get; set; }
    public User User { get; set; }
    public string Type { get; set; }
    public string AId { get; set; }
}
var smAcc = db.SMAccounts.Include(x => x.User).FirstOrDefault(x => x.User.Id.Equals(userID));
public class SMAccount
{
    [Key]
    public int Id { get; set; }
    public User User { get; set; }
    public string Type { get; set; }
    public string AId { get; set; }
}
var smAcc = db.SMAccounts.Include(x => x.User).FirstOrDefault(x => x.User.Id.Equals(userID));

Community Discussions

Trending Discussions on SMACC
  • How do i better understand how SmaCC uses the 'isMethod' functionality in regular expressions?
  • Icon and TextInput are not showing in the same line
  • Getting the object returns null on the object using Entity Framework
Trending Discussions on SMACC

QUESTION

How do i better understand how SmaCC uses the 'isMethod' functionality in regular expressions?

Asked 2021-Mar-25 at 02:18

The 'isMethod' support in SmaCC regular expressions isn't clear to me.

These two sources essentially say the same thing

<isMethod>  Copies the characters where Character>>isMethod returns true into 
the current regular expression. For example, instead of using \d, we could use 
<isDigit> since Character>>isDigit returns true for digits. 

There isn't much to go on, so I have a few questions:

  • Does this mean I can use isWhitespace, isNotWhitespace etc. ? (How do I know the names?)
  • Does this mean I can use my own tokens? (like isVariable, isMultiLineComment if I define these?)
  • Are there some good places for me to better understand this?

Thanks for your time

ANSWER

Answered 2021-Mar-23 at 17:14

The GToolkit Discord is a better place for this question, as one of the original authors hangs out there

Source https://stackoverflow.com/questions/66576329

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install SMACC

The easiest way to get started is by selecting one of the state machines in our reference library, and then hacking it to meet your needs. Each state machine in the reference library comes with it's own README.md file, which contains the appropriate operating instructions, so that all you have to do is simply copy & paste some commands into your terminal. Operating instructions can be found in each reference state machines readme file. Happy Coding.
If you are looking for a minimal example, we recommend sm_atomic.
If you are looking for a slightly more complicated, but still very simple example, try sm_calendar_week.
If you are looking for a minimal example but with a looping superstate, try sm_three_some.
If you want to get started with the ROS Navigation stack right away, try sm_dance_bot.
If you want to get started with ROS Navigation and exploring the orthogonal read-write cycle, then try sm_dance_bot_strikes_back.

Support

If you are interested in getting involved or need a little support, feel free to contact us by emailing brett@reelrobotix.com.

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases
Explore Kits

Save this library and start creating your kit

Share this Page

share link
Reuse Pre-built Kits with SMACC
Consider Popular C++ Libraries
Compare C++ Libraries with Highest Support
Compare C++ Libraries with Highest Quality
Compare C++ Libraries with Highest Security
Compare C++ Libraries with Permissive License
Compare C++ Libraries with Highest Reuse
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases
Explore Kits

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.